// 检查用户是否已登录
export function checkLogin() {
    const token = localStorage.getItem('token')
    return !!token
  }